package spolipar.bitcoin.bot.data;

public class Storage {
	
	private final StorageKey m_sotrageKey;
	
	private DeepData deep;

	public Storage(StorageKey sotrageKey) {
		m_sotrageKey = sotrageKey;
	}

	public StorageKey getStorageKey() {
		return m_sotrageKey;
	}

	public DeepData getDeep() {
		return deep;
	}

	public void setDeep(DeepData deep) {
		this.deep = deep;
	}

	public void put(IMarketData data) {
		switch (data.type()) {
		case DEEP:
			setDeep((DeepData) data);
			break;
		default:
			break;
		}
		
	}

}
